home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
Cando v1.6 disk 2.adf
/
HelpFiles
/
Object Control
< prev
next >
Wrap
Text File
|
1992-01-31
|
6KB
|
305 lines
C- DetachObject |detachobject|
C- DisableObject |disableobject|
C- EnableObject |enableobject|
C- FastFeedBack |fastfeedback|
C- GetPropPosition |getpropposition|
C- GetPropRange |getproprange|
C- GetPropVisibleRange |getpropvisiblerange|
F- IntegerFrom |integerfrom|
V- KeyPressed |keypressed|
C- MoveObject |moveobject|
F- ObjectAttached |objectattached|
V- ObjectName |objectname|
F- ObjectState |objectstate|
V- QualifiersPressed |qualifierspressed|
C- ReattachObject |reattachobject|
C- RefreshObject |refreshobject|
C- SetInteger |setinteger|
C- SetObjectState |setobjectstate|
C- SetPropPosition |setpropposition|
C- SetPropRange |setproprange|
C- SetPropVisibleRange |setpropvisiblerange|
C- SetText |settext|
F- TextFrom |textfrom|
[E]
|detachobject|
WT DetachObject {ObjectName}
PL Detach an object from the card. All objects
PL can be detached, but the imagery of graphic
PL objects will not be erased. See page 6-45
PL in the supplement manual for a full
PL description of this command.
PT SEE ALSO:
BS ReAttachObject
PT and
BS ObjectAttached
PT .
ED
|disableobject|
WT DisableObject {ObjectName}
PL This will ghost a graphic object until
PL the object has been enabled. This only
PL works on Buttons, Fields and Menus.
PL
PT SEE ALSO:
BS EnableObject
PT .
ED
|enableobject|
WT EnableObject {ObjectName}
PL This will enable a graphic object that
PL has been disabled. This will do nothing
PL if the object was not disabled.
PL
PT SEE ALSO:
BS DisableObject
PT .
ED
|fastfeedback|
WT FastFeedBack {Logical}
PL Enables or disables FastFeedBack on
PL mouse movements for an Object's Drag
PL Script. See page 6-60 in the yellow
PL manual for a full discussion.
ED
|getpropposition|
WT GetPropPosition {ObjectName}, <HorizPosVarName> [,<VertPosVarName>]
PL This will retrieve a proportional object's
PL positional values.
PL
PT SEE ALSO:
BS SetPropPosition
PT ,
BS GetPropRange
PL
PT and
BS GetPropVisibleRange
PT .
ED
|getproprange|
WT GetPropRange {ObjectName}, <LowHorizVarName>, <HighHorizVarName> [,<LowVertVarName>, <HighVertVarName>]
PL This will retrieve a proportional object's
PL upper and lower range limits.
PL
PT SEE ALSO:
BS SetPropRange
PT ,
BS GetPropPosition
PL
PT and
BS GetPropVisibleRange
PT .
ED
|getpropvisiblerange|
WT GetPropVisibleRange {ObjectName}, <DisplayHorizVarName> [,<DisplayVertVarName>]
PL This will retrieve a proportional object's
PL visible size.
PL
PT SEE ALSO:
BS SetPropVisibleRange
PT ,
BS GetPropRange
PL
PT and
BS GetPropPosition
PT .
ED
|integerfrom|
WT {Integer}=IntegerFrom({ObjectName})
PL Returns the integer currently held in
PL in the Integer Field {ObjectName}.
PL
PT SEE ALSO:
BS TextFrom
PT and
BS SetInteger
PT .
ED
|keypressed|
WT {String}=KeyPressed
PL This returns the key that was pressed
PL when used with a KeyInput object that
PL is looking for ANY key.
PL
PT SEE ALSO:
BS QualifiersPressed
PT .
ED
|moveobject|
WT MoveObject {ObjectName},{X},{Y}
PL Moves an object in the visible window
PL to the coordinates {X},{Y}.
ED
|objectattached|
WT {Logical}=ObjectAttached({ObjectName})
PT Returns
BS True
PL if the named object is
PL currently attached.
PL
PT SEE ALSO:
BS DetachObject
PT and
BS ReattachObject
PT .
ED
|objectname|
WT {String}=ObjectName
PL This returns the name of the currently
PL running object.
ED
|objectstate|
WT {Logical}=ObjectState({ObjectName})
PL This indicates if the object is currently
PL selected. With menus this also indicates
PL if the item's checkmark is checked.
PL
PT SEE ALSO:
BS SetObjectState
PT .
ED
|qualifierspressed|
WT {String}=QualifiersPressed
PL String of words, one for each qualifier
PL pressed in the last keyboard input, or
PL NONE if none. Qualifiers include: CONTROL,
PL CAPSLOCK, RIGHTALT, LEFTALT, RIGHTSHIFT,
PL LEFTSHIFT, LEFTAMIGA, RIGHTAMIGA, LEFTMOUSE,
PL MIDDLEMOUSE, and RIGHTMOUSE.
ED
|reattachobject|
WT ReattachObject {ObjectName} [,{Arg1} [,up to ten arguments]]
PL This will attach an object that has been
PL detached. This will do nothing if the
PL object is already attached.
PL
PT SEE ALSO:
BS DetachObject
PT and
BS ObjectAttached
PT .
ED
|refreshobject|
WT RefreshObject {ObjectName} ;<- only works on document objects
PL Update the display of a document of list
PL object. While this normally occurs at the
PL end of each script, this command forces the
PL update to occur during the script. THIS
PL SHOULD ONLY BE USED WITH DOCUMENT OBJECTS!
ED
|setinteger|
WT SetInteger {ObjectName}, {Integer}
PL Sets the value displayed in the Integer
PL Field indicated by {ObjectName} to the
PL given {Integer}.
PL
PT SEE ALSO:
BS SetText
PT and
BS IntegerFrom
PT .
ED
|setobjectstate|
WT SetObjectState {ObjectName}, {Logical}
PT Used to deselect or select an Object.
BS True
PL
PT will select the Object,
BS False
PL will deselect
PL the Object. If the object is a "checkable"
PL menu item or checkmark toggle button, this
PL will set or clear the check mark.
PT SEE ALSO:
BS ObjectState
PT .
ED
|setpropposition|
WT SetPropPosition {ObjectName}, {HorizPos} [,{VertPos}]
PL This will set a proportional object's
PL positional values.
PL
PT SEE ALSO:
BS GetPropPosition
PT ,
BS SetPropRange
PL
PT and
BS SetPropVisibleRange
PT .
ED
|setproprange|
WT SetPropRange {ObjectName}, {LowHoriz}, {HighHoriz} [,{LowVert}, {HighVert}]
PL This will set a proportional object's
PL upper and lower range limits.
PL
PT SEE ALSO:
BS GetPropRange
PT ,
BS SetPropPosition
PL
PT and
BS SetPropVisibleRange
PT .
ED
|setpropvisiblerange|
WT SetPropVisibleRange {ObjectName}, {DisplayHoriz} [,{DisplayVert}]
PL This will set a proportional object's
PL visible size.
PL
PT SEE ALSO:
BS GetPropVisibleRange
PT ,
BS SetPropRange
PL
PT and
BS SetPropPosition
PT .
ED
|settext|
WT SetText {ObjectName},{String}
PL Sets the string displayed in the text
PL Field indicated by {ObjectName} to the
PL given {String}.
PL
PT SEE ALSO:
BS SetInteger
PT and
BS TextFrom
PT .
ED
|textfrom|
WT {String}=TextFrom({ObjectName})
PL Returns the string currently held in
PL in the Text Field {ObjectName}.
PL
PT SEE ALSO:
BS IntegerFrom
PT and
BS SetText
PT .
ED